<%@page import="com.mmy.domain.car.TCarOrder"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
 <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> 
 <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>  
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<jsp:include page="/WEB-INF/jsp/includeb.jsp"></jsp:include>
<title>打印收款</title>
</head>
<body>
	<div id="off-canvas-container" class="off-canvas-container">
		<jsp:include page="/WEB-INF/jsp/BackHeader.jsp"></jsp:include>
			<main class="at-padding-large-bottom">
			<article>		
	<header class="bg-light at-padding-large-top at-padding-large-bottom at-margin-large-bottom">
		<div class="page-header container">
			<h2>打印收款</h2>			
		</div>
	</header>
	<section class="container">
	

			<div>
				<a href="carorg" >车公司信息</a> | 
				<a href="cartype" >车型信息</a> | 
				<a href="carbase" >车辆信息</a> | 
				<a href="carplan" >车辆计划</a>  
				<hr style="FILTER: alpha(opacity=100,finishopacity=0,style=3); margin: 15px; " width=100%; color=#F9F6E5 SIZE=3></h>
				
				
						<h4 class="info-h4">
							<i class="fa fa-caret-right" aria-hidden="true" ></i>转订单收款
						</h4>
				<div >
				<table class="info-table" >
				
				<tr>
					<th>收据号</th>
					<td>
						<input type="text" name="Voucher" value="${tCarOrder.getVoucher()}" readonly/><span class="mustWrite">*</span>
					</td>
					<th>实收款</th>
					<td>
						<input type="text" name="Receipt" value="${tCarOrder.getReceipt()}" readonly/><span class="mustWrite">*</span>
					</td>
					
				
				</tr>
				<tr>
					<th>订单人姓名</th>
					<td>
						<input type="text" name="OrderName" value="${tCarOrder.getOrderName()}" readonly/><span class="mustWrite">*</span>
					</td>
					<th>订单联系方式</th>
					<td>
						<input type="text" name="OrderTel" value="${tCarOrder.getOrderTel()}" readonly/><span class="mustWrite">*</span>
					</td>
				</tr>
				<tr>
					<th>订单总额</th>
					<td>
						<input type="text" name="OrderAmount" value="${tCarOrder.getOrderAmount()}" readonly/><span class="mustWrite">*</span>
					</td>
					<th>应收款</th>
					<td>
						<input type="text" name="Receivable" value="${tCarOrder.getReceivable()}" readonly/><span class="mustWrite">*</span>
					</td>
				</tr>
				<tr>
					
					<th>付款类型</th>
					<c:choose>
						     <c:when test="${tCarOrder.getPayType() == 0}">
						           <td>现金</td>
						     </c:when>
						     <c:when test="${tCarOrder.getPayType() == 1}">
						           <td>微信</td>
						     </c:when>
						     <c:when test="${tCarOrder.getPayType() == 2}">
						           <td>支付宝</td>
						     </c:when>
						    <c:otherwise>
						           <td>银联卡</td>
						    </c:otherwise>
					</c:choose>
				</tr>
				
					
				</table>
				<center>
				<input type="button" class="btn" value="确认" onclick="location.href='carbase'"/>
				<input type="button" class="btn" value="打印" onclick=""/>
				</center> 
				
							
							
				</div>
				
			</div>
			</section>
			</article>
			</main>
		<jsp:include page="/WEB-INF/jsp/Footer.jsp"></jsp:include>
		</div>
 
<jsp:include page="/WEB-INF/jsp/include2.jsp"></jsp:include>
</body>

</html>